package _5_Create._5_2_Builder._5_2_0_SingleProduct;

/**
 * 负责零件组装
 */
public class Director {
    private Builder builder;

    public void construct() {
        builder = new ConcreteBuilder();
        builder.buildPart1();
        builder.buildPart2();
        Product product = builder.retrieveProduct();
    }
}
